package com.tjc.mvc.test.v1.bean.controller;

import com.tjc.spring.core.annotation.Autowird;
import com.tjc.spring.web.annotation.Controller;
import com.tjc.spring.web.annotation.RequestMapping;
import com.tjc.mvc.test.v1.bean.service.UserService;

@Controller
@RequestMapping
public class UserController {
    @Autowird
    private UserService userService;

    @RequestMapping("getUser")
    public String getUser(){
        return userService.getUser();
    }

}
